import { order } from "@/api/index";
const MUTATION_TYPES = {
  VICE_CODE: "VICE_CODE"
};
const state = {
  viceCode: 111
};
const getters = {};
const mutations = {
  [MUTATION_TYPES.VICE_CODE](state, code) {
    state.viceCode = code;
  }
};
const actions = {
  // async getCodeList (userCompanyid) {
  //   let { data } = await order.deviceApi(userCompanyid);
  //   if (!data) return;
  //   this.codeList = data;
  // },
};

export default {
  namespaced: true,
  state,
  getters,
  mutations,
  actions
};
